import java.util.Scanner;

public class 圆的面积周长 {
    public class a {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入圆的半径：");
            int r = scanner.nextInt();
            System.out.println("圆的周长是：”"+ zc(r));
            System.out.println("圆的面积是：" + mj(r));
        }
        public static double zc(int r ) {
            return 2 * 3.14* r ;
        }
        public static double mj(int r) {
            return 3.14* r * r;
        }
    }
}
